(lambda (device data)
  (/lib/q/done (/api "session/add" device data)
    (lambda (result) (console.log "added" device))
    (/lib/error (+ "could not add " device))))
